package com.yxx.entityModel.vo.Result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * 分页返回请求
 * @author yuxiangxun
 * @date 2025/1/19
 * @apiNote
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "分页返回请求对象", description = "分页返回请求对象")
public class PageResult<T> {

    /**
     * 分页数据列表
     */
    @ApiModelProperty(value = "分页数据列表")
    private List<T> recordList;


    /**
     * 总数
     */
    @ApiModelProperty(value = "总数", dataType = "long")
    private Long count;
}
